<?php

/**
 * @filename writefile.php 
 * @encoding UTF-8 
 * @author  fwz 
 * @datetime 2018-6-13  11:12:30
  */


$content = "hello swoole;";

swoole_async_writefile('2.txt',$content,function($filename){
    echo $filename;
},1);
